package com.zxbtest.zxb.base;

import lombok.Data;

/**
 * Created by RDL on 2019-09-23 23:08
 **/

@Data
public class Result {

    /**
     * 错误码
     */
    private String code ;

    /**
     * 错误信息
     */
    private String message ;

    /**
     * 返回结果实体
     */
    private Object data ;


    public Result(){

    }

    public Result(String code,String message,Object data){

        this.code = code;
        this.message = message;
        this.data = data;
    }


}
